package com.middlegroup.pay.service.impl;

import com.middlegroup.pay.entity.OutNotifyMerchant;
import com.middlegroup.pay.mapper.OutNotifyMerchantMapper;
import com.middlegroup.pay.service.OutNotifyMerchantService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 出款通知商户记录表，bill_no记录唯一 服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-15
 */
@Service
public class OutNotifyMerchantServiceImpl extends ServiceImpl<OutNotifyMerchantMapper, OutNotifyMerchant> implements OutNotifyMerchantService {

    @Resource
    private OutNotifyMerchantMapper outNotifyMerchantMapper;

    @Override
    public int updateTimes(String billNo) {
        return outNotifyMerchantMapper.updateTimes(billNo);
    }
}
